package com.pz.cloud.framework.business.workflow.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 流程业务绑定规则表
 * @author mazezhan
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "act_process_bind_rule")
@ApiModel(value = "act_process_bind_rule对象", description = "流程业务绑定规则表")
public class ProcessBindRule {
    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "id")
    private String id;//主键

    @ApiModelProperty(value = "processBind表Id")
    private String processBindId;//

    @ApiModelProperty(value = "processBind类字段名")
    private String ruleFiledName;

    @ApiModelProperty(value = "规则值")
    private String ruleFieldValue;

    @ApiModelProperty(value = "表达式：'>','<','eq','like'")
    private String express;// >  < eq  like

}
